home *** CD-ROM | disk | FTP | other *** search
/ Aminet 22 / Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso / Aminet / util / cli / MakePath.lha / MakePath / src / debug.h next >
C/C++ Source or Header  |  1997-09-27  |  510b  |  28 lines

  1. /********************************************************************
  2. *
  3. *          File: debug.c
  4. *   Description: Debugging macros
  5. *        Author: Ole Martin Bjørndalen (olemb@stud.cs.uit.no)
  6. *       Version: 1.1a
  7. *        Status: Public domain
  8. *  Last changed: 27 Sep 1997
  9. *    
  10. ********************************************************************/
  11.  
  12. #ifndef DEBUG_H
  13. #define DEBUG_H
  14.  
  15. #ifdef DEBUG
  16.  
  17. #define D(x)    x
  18. #define bug        Printf("* ");Printf
  19.  
  20. #else
  21.  
  22. #define D(x)    
  23. #define bug        
  24.  
  25. #endif
  26.  
  27. #endif /* DEBUG_H */
  28.